package com.anttribe.components.db.sql.stereotype;

import com.anttribe.components.db.sql.format.SqlFormatter;

/**
 * @author zhaoyong
 * @date 2021/11/1 0001
 */
public interface SqlStatement {

    /**
     * 构造sql
     *
     * @return Sql语句
     */
    String generateSql();

    /**
     * 构造sql
     *
     * @param formatOptions
     *            SqlFormatter.FormatOptions
     * @return Sql语句
     */
    String generateSql(SqlFormatter.FormatOptions formatOptions);

}
